package com.system.fastdfs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import lombok.Data;

/**
 *
 * @TableName creditor_info
 */
@TableName(value ="creditor_info")
@Data
public class CreditorInfo implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 债权借款人姓名
     */
    @TableField(value = "realName")
    private String realname;

    /**
     * 债权借款人身份证
     */
    @TableField(value = "idCard")
    private String idcard;

    /**
     * 债权借款人地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 1男2女
     */
    @TableField(value = "sex")
    private Integer sex;

    /**
     * 债权借款人电话
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 债权借款人借款金额
     */
    @TableField(value = "money")
    private BigDecimal money;

    /**
     * 债权合同所在组
     */
    @TableField(value = "groupName")
    private String groupname;

    /**
     * 债权合同所在路径
     */
    @TableField(value = "remoteFilePath")
    private String remotefilepath;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableField(value = "oldFilename")
    private String oldFilename;

    @TableField(value = "fileSize")
    private Long fileSize;

    @TableField(value = "fileType")
    private String fileType;

}
